<%@ Import Namespace="Microsoft.Web.Mvc" %>
<%@ Import Namespace="FlickrPortfolio.Helpers" %>
<%@ Import Namespace="FlickrPortfolio.Models"%>

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Photo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title><%= Model.Title %></title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Model.Title %></h2>
    <div id="desc"><%= Model.Description %></div>
    <img src="<%= Model.Urls.Where(x => x.UrlType == UrlType.Medium).First().Url %>" alt="<%= Model.Title %>" class="photo" />
    
</asp:Content>
